{{!
  Copyright (c) HashiCorp, Inc.
  SPDX-License-Identifier: BUSL-1.1
}}

<PageHeader as |p|>
  <p.top>
    <KmipBreadcrumb @scope={{this.scope}} @role={{this.role}} @currentRoute="Edit Role" />
  </p.top>
  <p.levelLeft>
    <h1 class="title is-3">
      Edit Role
    </h1>
  </p.levelLeft>
</PageHeader>

<Kmip::RoleForm
  @model={{this.model}}
  @onSave={{transition-to "vault.cluster.secrets.backend.kmip.role" this.scope this.role}}
  @onCancel={{transition-to "vault.cluster.secrets.backend.kmip.role" this.scope this.role}}
/>